<div class="view_car">
<h1><a href="<!--[pnmodurl modname='iCarrent' func='view' ctrl='topics' id=$view.id]-->"><!--[$view.brand_name]-->&nbsp;<!--[$view.model_name]--></a></h1>
<div class="border"><div></div></div>

<img src="modules/iCarrent/pnimages/emptypic.png"  title="<!--$view.title-->">
  <div class="car_detail">
		<p><span><!--[pnml name='ยี่ห้อ']--></span><!--[if $view.brand_name]--><!--[$view.brand_name]--><!--[else]-->-<!--[/if]--></p>
		<p><span><!--[pnml name='รุ่น']--></span><!--[if $view.model_name]--><!--[$view.model_name]--><!--[else]-->-<!--[/if]--></p>
    <p><span><!--[pnml name='คุณสมบัติ']--></span>
      <span class="in">
          <!--[if $view.carproperty_id != "N;"]-->
            <!--[foreach from=$view.carproperty_id|unserialize item=item_carprop key=select_key]-->
              <!--[get_carpropertyname_by_id id=$item_carprop ]--><br>
            <!--[/foreach]-->
          <!--[else]-->ไม่มีคุณสมบัติ<!--[/if]-->
      </span>
    <p>
    <p><span><!--[pnml name='รายละเอียดรถ']--></span>
		<span class="in"><!--[if $view.detail]--><!--[$view.detail]--><!--[else]-->ไม่มีรายละเอียดรถ<!--[/if]--></span>
		</p>
    <p><span><!--[pnml name='อัตรเช่า']--></span>
			<span class="in">
					<!--[if $view.price_day eq '0' or $view.price_day eq NULL]-->
					<!--[pnml name='Call']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_DAY']-->
					<!--[else]-->
					<!--[$view.price_day|number_format:0]--> <!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_BAHT']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_DAY']-->
					<!--[/if]-->


					<!--[if $view.price_week eq '0' or $view.price_week eq NULL]-->
					<BR><!--[pnml name='Call']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_WEEK']-->
					<!--[else]-->
					<BR><!--[$view.price_week|number_format:0]--> <!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_BAHT']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_WEEK']-->
					<!--[/if]-->



					<!--[if $view.price_month eq '0' or $view.price_month eq NULL]-->
					<BR><!--[pnml name='Call']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_MONTH']-->
					<!--[else]-->
					<BR><!--[$view.price_month|number_format:0]--> <!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_BAHT']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_MONTH']-->
					<!--[/if]-->



					<!--[if $view.price_year eq '0' or $view.price_year eq NULL]-->
					<BR><!--[pnml name='Call']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_YEAR']-->
					<!--[else]-->
					<BR><!--[$view.price_year|number_format:0]--> <!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_BAHT']-->&nbsp;/&nbsp;<!--[pnml name='_ICARRENT_USER_VIEW_TOPICS_YEAR']-->
					<!--[/if]-->
			</span>
		</p>

  </div>


<!--div class="product_reserve_detail">
	  <span><!--[pnml name='Reservation Details']--></span>

    <p><!--[pnml name='Pick-up']--></p>
    <!--[$smarty.get.start_date]--><BR>
    <!--[$smarty.get.pickuplocation]-->

    <p><!--[pnml name='Drop-off']--></p>
    <!--[$smarty.get.end_date]--><BR>
    <!--[$smarty.get.dropofflocation]-->

	  <span><!--[pnml name='Estimated Charges']--></span>
    <!--[$smarty.get.amountdate]-->
    <!--[$smarty.get.dayprice]-->
</div-->

<div class="product_driver_detail">
  <form method="post" action="<!--[pnmodurl modname='iCarrent' type='adminform' func='submit' ctrl='Reserve']-->">
    <input type="hidden" name="form[user_id]" value="<!--[$user.uid]-->">
    <input type="hidden" name="form[reserver_ip_address]" value="">
    <input type="hidden" name="form[topics_id]" value="<!--[$smarty.get.id]-->">
    <input type="hidden" name="form[start_date]" value="<!--[$smarty.get.start_date]-->">
    <input type="hidden" name="form[end_date]" value="<!--[$smarty.get.end_date]-->">
    <input type="hidden" name="form[start_location]" value="<!--[$smarty.get.pickuplocation]-->">
    <input type="hidden" name="form[end_location]" value="<!--[$smarty.get.dropofflocation]-->">
    <input type="hidden" name="form[total_charge]" value="">

<span><!--[pnml name='Driver Information']--></span>
	<label for="firstName"><!--[pnml name='First name']--></label>

	<input id="firstName" type="text" size="35" value="<!--[$user.firstName]-->" name="form[reserver_firstname]">

	<label for="lastName"><!--[pnml name='Last name']--></label>

	<input id="lastName" type="text" size="35" value="<!--[$user.lastName]-->" name="form[reserver_lastname]">

	<label for="phone"><!--[pnml name='Phone']--></label>

	<input id="phone" type="text" size="35" value="<!--[$user.homePhone]-->" name="form[reserver_phone]">

	<label for="email"><!--[pnml name='Email address']--></label>

	<input id="email" type="text" size="35" value="<!--[$user.email]-->" name="form[reserver_email]">

	<label for="confirmEmail"><!--[pnml name='Confirm email address']--></label>

	<input id="confirmEmail" class="" type="text" size="35" value="<!--[$user.email]-->" name="form[confirmEmail]">
	<button name="button_submit" value='Submit' type="submit" class="button2">จองเดี๋ยวนี้</button>
</form>
</div>

</div>

